/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

import java.rmi.RemoteException;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import javax.ejb.EJBObject;
import javax.naming.NamingException;
import utils.ResultSetWrap;

/**
 *
 * @author KAV
 */
public interface QueryInitializerBeanRemote extends EJBObject {
    public void init(String queryPattern, String jdbcConnection) throws NamingException, SQLException,RemoteException;

    public ResultSetWrap resultQuery() throws SQLException,RemoteException;

    public int resultUpdate() throws SQLException,RemoteException;

    public void setParam(String type, String value, int i) throws SQLException,RemoteException;
}
